<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8">
  <meta name="renderer" content="webkit" />
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>品牌详情</title>
  <link rel="stylesheet" href="../../lib/css/reset.min.css">
  <link rel="stylesheet" href="../../css/all.min.css">
  <link rel="stylesheet" href="../../lib/css/themes/default/default.css">
</head>

<body>
  <div class="app-wrap" v-cloak id="brand_info">
    <header-top></header-top>
    <header-search-global type="首页"></header-search-global>
    <common-top-nav></common-top-nav>
    <div class="bg-gray">
      <div class="container userCenter clear">
        <leftnav></leftnav>
        <div class="user-content">
          <ul class="tabs tabs-enterPrise">
            <li class="li-tab" v-for="(item,index) in brand_info" @click="toggleTabs(index)" :class="{active:index!=nowIndex}">
              <span :class="{borderRight_none:index == 0}">{{item}}</span>
            </li>
          </ul>

          <div class="divTab enterPrise-tab groupTabs" style="padding: 30px;" v-show="nowIndex===0">
            <textarea name="content" placeholder="134" style="width:900px;height:400px;visibility:hidden;"></textarea>  
          </div>
          <button class="btn_textarea">保 存</button>
        </div>
      </div>
    </div>
    <common-footer></common-footer>
  </div>
  <script src="../../lib/js/vue.js"></script>
  <script src="../../lib/js/axios.min.js"></script>
  <script src="../../lib/js/kindeditor-all.js"></script>
  <script src="../../lib/js/zh-CN.js"></script>
  <script>
  var editor;
    KindEditor.ready(function (K) {
      editor = K.create('textarea[name="content"]', {
        allowFileManager: true,
        resizeType:0
      });
      // 取得HTML
      // K('input[name=getHtml]').click(function (e) {
      //   alert(editor.html());
      // });
      // 判断是否为空
      // K('input[name=isEmpty]').click(function (e) {
      //   alert(editor.isEmpty());
      // });
      // 取得文本(包含img, embed)
      // K('input[name=getText]').click(function (e) {
      //   alert(editor.text());
      // });
      // 取得选中HTML
      // K('input[name=selectedHtml]').click(function (e) {
      //   alert(editor.selectedHtml());
      // });
      // 设置HTML
      // K('input[name=setHtml]').click(function (e) {
      //   editor.html('<h3>Hello KindEditor</h3>');
      // });
      // 设置文本
      // K('input[name=setText]').click(function (e) {
      //   editor.text('<h3>Hello KindEditor</h3>');
      // });
      // 插入HTML
      // K('input[name=insertHtml]').click(function (e) {
      //   editor.insertHtml('<strong>插入HTML</strong>');
      // });
      // 添加HTML
      // K('input[name=appendHtml]').click(function (e) {
      //   editor.appendHtml('<strong>添加HTML</strong>');
      // });
      // 清空内容
      // K('input[name=clear]').click(function (e) {
      //   editor.html('');
      // });
    });
  </script>

  <!-- mock 数据 打包发布的时候记得移除 -->
  <script src="../../lib/js/mock.js"></script>
  <script src="../../js/all.min.js"></script>
  <script>
    brand_info();
  </script>
</body>

</html>